package dtos;

import javax.validation.constraints.Pattern;


public class InvitationDTO {

	private int invitationID;

	@Pattern(regexp="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?",
            message="invalid email")
	private String invited;
	
	private PersonalizedTPDTO personalizedTp;

	private UserDTO user;

	public InvitationDTO() {
	}

	public int getInvitationID() {
		return this.invitationID;
	}

	public void setInvitationID(int invitationID) {
		this.invitationID = invitationID;
	}

	public String getInvited() {
		return this.invited;
	}

	public void setInvited(String invited) {
		this.invited = invited;
	}

	public PersonalizedTPDTO getPersonalizedTp() {
		return this.personalizedTp;
	}

	public void setPersonalizedTp(PersonalizedTPDTO personalizedTp) {
		this.personalizedTp = personalizedTp;
	}

	public UserDTO getUser() {
		return this.user;
	}

	public void setUser(UserDTO user) {
		this.user = user;
	}

}
